public class Account {
  private double balance;
  Account(){
    balance = 0.0;
  }
  public Account(double balance){
	  this.balance = balance;
  }
  void deposit(double x){
    balance +=x;
  }
  void withdraw(double x){
    if(this.balance >=x){
      balance -=x;
    }
  }
  public double getBalance(){
    return balance;
  }
}
